package com.hpsk.shopgen.model.genconfig.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.hpsk.common.CommonVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 生成配置
 * </p>
 *
 * @author huangwang
 * @since 2025-07-07
 */
@Getter
@Setter
@TableName("gen_config")
@Schema(name = "GenConfig对象", description = "生成配置")
public class GenConfig extends CommonVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

    @Schema(description = "基础ID")
    @TableField("basic_id")
    private Long basicId;

    @Schema(description = "是否主键")
    @TableField("is_table_key")
    private String isTableKey;

    @Schema(description = "字段")
    @TableField("field_name")
    private String fieldName;

    @Schema(description = "名称")
    @TableField("field_remark")
    private String fieldRemark;

    @Schema(description = "类型")
    @TableField("field_type")
    private String fieldType;

    @Schema(description = "实体类型")
    @TableField("field_java_type")
    private String fieldJavaType;

    @Schema(description = "作用类型")
    @TableField("effect_type")
    private String effectType;

    @Schema(description = "字典")
    @TableField("dict_type_code")
    private String dictTypeCode;

    @Schema(description = "列表显示")
    @TableField("whether_table")
    private String whetherTable;

    @Schema(description = "列省略")
    @TableField("whether_retract")
    private String whetherRetract;

    @Schema(description = "是否增改")
    @TableField("whether_add_update")
    private String whetherAddUpdate;

    @Schema(description = "必填")
    @TableField("whether_required")
    private String whetherRequired;

    @Schema(description = "查询")
    @TableField("query_whether")
    private String queryWhether;

    @Schema(description = "查询方式")
    @TableField("query_type")
    private String queryType;

    @Schema(description = "排序")
    @TableField("sort_code")
    private String sortCode;
}
